﻿using SqlSugar;
namespace IMES.Entity
{
    /// <summary>
    /// 订单详情
    ///</summary>
    [SugarTable("t_orderdtl")]
    public class Orderdtl : BaseEntity
    { 
        /// <summary>
        /// CPO 
        ///</summary>
        [SugarColumn(ColumnName = "CPO", IsPrimaryKey = true)]
        public string? CPO { get; set; }
        /// <summary>
        /// 颜色代码 
        ///</summary>
        [SugarColumn(ColumnName = "ColorCode", IsPrimaryKey = true)]
        public string? ColorCode { get; set; }
        /// <summary>
        /// 颜色名称-支持李宁中文颜色 
        ///</summary>
        [SugarColumn(ColumnName = "ColorName")]
        public string? ColorName { get; set; }
        /// <summary>
        /// 国际单颜色代码 
        ///</summary>
        [SugarColumn(ColumnName = "INT_ColorCode")]
        public string? INT_ColorCode { get; set; }
        /// <summary>
        /// 尺码 
        ///</summary>
        [SugarColumn(ColumnName = "Size", IsPrimaryKey = true)]
        public string? Size { get; set; }
        /// <summary>
        /// 订单量 
        ///</summary>
        [SugarColumn(ColumnName = "Qty")]
        public int Qty { get; set; }
        /// <summary>
        /// 加裁比例 
        ///</summary>
        [SugarColumn(ColumnName = "JCBL")]
        public int JCBL { get; set; }
        /// <summary>
        /// 加裁量 
        ///</summary>
        [SugarColumn(ColumnName = "CutQty")]
        public int CutQty { get; set; }
        /// <summary>
        /// 货期 
        ///</summary>
        [SugarColumn(ColumnName = "ShipDate")]
        public DateTime? ShipDate { get; set; }
        /// <summary>
        /// 异动货期 
        ///</summary>
        [SugarColumn(ColumnName = "ChangeDate")]
        public DateTime? ChangeDate { get; set; }
        /// <summary>
        /// PO.ITEM 
        ///</summary>
        [SugarColumn(ColumnName = "ABS_NO")]
        public string? ABS_NO { get; set; }
    }
}
